package com.ff.neuropp.request;

import lombok.Data;


@Data
public class Pagination {

    private int size=5;

    private int page=0;

    public int getPage() {
        if (this.page != 0) {
            return (this.page - 1) * this.size;
        } else {
            return 0;
        }
    }


}
